package com.ljl.ssm.mapper;

import com.ljl.ssm.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljl.ssm.pojo.UserExample;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaoZhou
 * @since 2019-07-07
 */
public interface UserMapper extends BaseMapper<User> {
    int deleteByPrimaryKey(Integer id);

    int insertBy(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

}
